package com.example.abstractfactory.factory;

import java.util.concurrent.TimeUnit;

/**
 * @version 1.0.0
 * @className: CacheService
 * @description:
 * @author: rosszhang
 * @date: 2022/6/8 17:22
 */
public interface CacheService  {

    String get(final String key);

    void set(String key, String value);

    void set(String key, String value, long timeout, TimeUnit timeUnit);

    void del(String key);
}
